class MyClass:
    def __init__(self,x,a,b,c,d,e,f):
        self.__dict__.update({k:v for k,v in locals().items() if k!="self"})